/*
* Copyright 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.builder;

/**
 * Description:
 *
 * @author: Qinxuefeng
 * @since: 1.0
 * Create Date Time: 2018/12/18 14:46
 * Update Date Time:
 */

public class ConCreteBuilderB extends Builder{
    private Product product = new Product();
    @Override
    protected void buildPartA() {
        product.add("部件x");
    }

    @Override
    protected void buildPartB() {
        product.add("部件y");
    }

    @Override
    public Product getResult() {
        return product;
    }
}
